package com.zbkj.common.response.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Auther:
 * @Date: 2024/7/5 15:43
 * @Description:
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ClientUserLoginResponse对象", description = "客户端用户登录响应对象")
public class ClientUserLoginResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "登录令牌")
    private String token;

    @ApiModelProperty("登录账号")
    private String account;

    @ApiModelProperty("联系人")
    private String realName;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("状态 0有效，1 封禁")
    private Integer status;

    /*@ApiModelProperty("时效类型 0 按日期开通 1 永久")
    private Integer validType;

    @ApiModelProperty("有效结束日期")
    private Date validToDate;*/

    @ApiModelProperty("所属公司名称")
    private String companyName;

    @ApiModelProperty("部门名称")
    private String departmentName;

    @ApiModelProperty("是否首次登录 0 首次 1非首次")
    private Integer firstLogin;

    @ApiModelProperty("年卡失效时间")
    private Date cardExpire;
    @ApiModelProperty("可用年卡字符数")
    private Long cardDataval;
    @ApiModelProperty("可用流量包字符数")
    private Long dataval;

    @ApiModelProperty("可用字符数")
    private Long totalDataval;

    @ApiModelProperty("系统时间戳")
    private Long sysTime;

    @ApiModelProperty("身份证号")
    private String idCard;
    @ApiModelProperty("实名认证状态 0 未认证 1已认证")
    private Integer authStatus;



    @ApiModelProperty("试用卡失效时间")
    private Date trialExpire;

    @ApiModelProperty("用户身份：0 无年卡无试用卡 1有试用卡 2有年卡")
    private Integer userIdentity;

}
